home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Source Code / Visual Basic Source Code.iso / vbsource / metkit / k4dll.h < prev    next >
Text File  |  1997-06-07  |  3KB  |  94 lines

  1. //    Copyright (C) 1996, 1997 Meta Four Software.  All rights reserved.
  2. //
  3. //    Import declarations for DLLs
  4. //
  5. //! rev="$Id: k4dll.h,v 1.1 1997/06/02 16:09:55 jcw Rel $"
  6.  
  7. #ifndef __K4CONF_H__
  8.     #error This file is included by "k4conf.h", it cannot be used standalone
  9. #endif
  10.  
  11. #ifndef d4_DLL
  12.     #ifdef _WIN32
  13.         #define d4_DLL            __declspec(dllimport)
  14.     #else
  15.         #define d4_DLL            __import
  16.     #endif
  17. #endif
  18.  
  19. #ifndef d4_DLLSPEC
  20.     #ifdef _WIN32
  21.         #define d4_DLLSPEC(t)    d4_DLL t
  22.     #else
  23.         #define d4_DLLSPEC(t)    t d4_DLL
  24.     #endif
  25. #endif
  26.  
  27. /////////////////////////////////////////////////////////////////////////////
  28. // Declarations in this file
  29.  
  30.     class d4_DLL c4_Bytes;
  31.     class d4_DLL c4_BytesProp;
  32.     class d4_DLL c4_BytesRef;
  33.     class d4_DLL c4_Cursor;
  34.     class d4_DLL c4_DoubleProp;
  35.     class d4_DLL c4_DoubleRef;
  36.     class d4_DLL c4_FloatProp;
  37.     class d4_DLL c4_FloatRef;
  38.     class d4_DLL c4_IntProp;
  39.     class d4_DLL c4_IntRef;
  40.     class d4_DLL c4_Property;
  41.     class d4_DLL c4_Reference;
  42.     class d4_DLL c4_Row;
  43.     class d4_DLL c4_RowRef;
  44.     class d4_DLL c4_Sequence;
  45.     class d4_DLL c4_Storage;
  46.     class d4_DLL c4_Strategy;
  47.     class d4_DLL c4_StringProp;
  48.     class d4_DLL c4_StringRef;
  49.     class d4_DLL c4_View;
  50.     class d4_DLL c4_ViewProp;
  51.     class d4_DLL c4_ViewRef;
  52.  
  53. #if !q4_MFC
  54.     class d4_DLL c4_String;
  55. #endif
  56.  
  57. /////////////////////////////////////////////////////////////////////////////
  58.  
  59.     d4_DLLSPEC(bool) operator== (c4_Cursor a_, c4_Cursor b_);
  60.     d4_DLLSPEC(bool) operator!= (c4_Cursor a_, c4_Cursor b_);
  61.     d4_DLLSPEC(bool) operator< (c4_Cursor a_, c4_Cursor b_);
  62.     d4_DLLSPEC(bool) operator> (c4_Cursor a_, c4_Cursor b_);
  63.     d4_DLLSPEC(bool) operator<= (c4_Cursor a_, c4_Cursor b_);
  64.     d4_DLLSPEC(bool) operator>= (c4_Cursor a_, c4_Cursor b_);
  65.     d4_DLLSPEC(c4_Cursor) operator+ (c4_Cursor cursor_, int offset_);
  66.     d4_DLLSPEC(c4_Cursor) operator+ (int offset_, c4_Cursor cursor_);
  67.  
  68.     d4_DLLSPEC(bool) operator== (c4_RowRef a_, c4_RowRef b_);
  69.     d4_DLLSPEC(bool) operator!= (c4_RowRef a_, c4_RowRef b_);
  70.     d4_DLLSPEC(bool) operator< (c4_RowRef a_, c4_RowRef b_);
  71.     d4_DLLSPEC(bool) operator> (c4_RowRef a_, c4_RowRef b_);
  72.     d4_DLLSPEC(bool) operator<= (c4_RowRef a_, c4_RowRef b_);
  73.     d4_DLLSPEC(bool) operator>= (c4_RowRef a_, c4_RowRef b_);
  74.     d4_DLLSPEC(c4_Row) operator+ (const c4_RowRef& a_, const c4_RowRef& b_);
  75.  
  76.     d4_DLLSPEC(bool) operator== (const c4_Bytes& a_, const c4_Bytes& b_);
  77.     d4_DLLSPEC(bool) operator!= (const c4_Bytes& a_, const c4_Bytes& b_);
  78.  
  79. #if !q4_MFC
  80.     d4_DLLSPEC(c4_String) operator+ (const c4_String&, const c4_String&);
  81.     d4_DLLSPEC(c4_String) operator+ (const c4_String&, const char*);
  82.     d4_DLLSPEC(c4_String) operator+ (const char*, const c4_String&);
  83.  
  84.     d4_DLLSPEC(bool) operator== (const c4_String&, const c4_String&);
  85.     d4_DLLSPEC(bool) operator!= (const c4_String&, const c4_String&);
  86.     d4_DLLSPEC(bool) operator== (const c4_String& s1, const char* s2);
  87.     d4_DLLSPEC(bool) operator== (const char* s1, const c4_String& s2);
  88.     d4_DLLSPEC(bool) operator!= (const c4_String& s1, const char* s2);
  89.     d4_DLLSPEC(bool) operator!= (const char* s1, const c4_String& s2);
  90. #endif
  91.  
  92. /////////////////////////////////////////////////////////////////////////////
  93.  
  94.